package com.lc.my_springframework.beans.factory;

import com.lc.my_springframework.beans.BeansException;

/**
 * 获取Bean的工厂对象
 */
public interface BeanFactory {

    /**
     * 通过beanName获取对应的Bean实例
     */
    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName, Object... args) throws BeansException;
}
